package com.wxapp.common.constant.base;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author lgl 监听基础类
 */
@Getter
public abstract class IBaseEvent<T> extends ApplicationEvent {
    private String message;
    private T data;

    public IBaseEvent(Object source, String message, T data) {
        super(source);
        this.message = message;
        this.data = data;
    }

}
